﻿Imports System.Xml.Serialization

Public Class StreamInfo
    Public VideoStreams As Generic.List(Of VideoStreamInfo)
    Public AudioStreams As Generic.List(Of AudioStreamInfo)
    Public SubtitleStreams As Generic.List(Of SubtitleStreamInfo)
    Public Runtime As String
    Public OverallBitrate As String
End Class

Public Class VideoStreamInfo
    <XmlAttribute()> Public Id As String
    Public Width As Integer
    Public Height As Integer
    Public Bitrate As String
    Public BitrateMode As String
    Public Format As String
    Public FormatInfo As String
    Public FormatProfile As String
    Public Language As String
    Public LanguageInfo As String
    Public AspectRatio As String
    Public Framerate As String
    Public BitsPerPixelFrame As String
End Class

Public Class AudioStreamInfo
    <XmlAttribute()> Public Id As String
    Public Format As String
    Public FormatInfo As String
    Public FormatProfile As String

    Public Bitrate As String
    Public BitrateMode As String

    Public Language As String
    Public LanguageInfo As String

    Public Channels As String
    Public ChannelPositions As String
End Class

Public Class SubtitleStreamInfo
    <XmlAttribute()> Public Id As String
    Public Format As String
    Public FormatInfo As String
    Public Language As String
    Public LanguageInfo As String
End Class
